<div class="header">
</div>
<header class="gird-header">
    <div class="header-fixed">
        <div class="header-inner">
            <a href="javascript:void(0)" class="header-logo" id="logo">Hwy<span style="font-size: 18px">&nbsp;|&nbsp;黄伟杨博客</span></a></p>
            <nav class="nav" id="nav">
                <ul>
                    @foreach($nav as $value)
                        <li><a href="{{$value['url']}}" data-mark="{{$value['mark']}}">{{$value['title']}}</a></li>
                    @endforeach
                </ul>
            </nav>
            @if (Auth::check())
                <div class="blog-user" style="font-size: 14px">
                    {{ Auth::user()->name }} | <span><a href="{{ route('index.logout') }}">
                            <i class="layui-icon layui-icon-logout"></i>退出</a></span>
                </div>
            @else
                <a href="/qq" class="blog-user">
                    <i class="fa fa-qq"></i>
                </a>
            @endif

            <a class="phone-menu">
                <i></i>
                <i></i>
                <i></i>
            </a>
        </div>
    </div>
</header>
